#ifndef _INTR_H
#define _INTR_H

#include "intr_x86.h"

static inline void os_cpu_intr_dis(void)
{
    x86_intr_dis();
}

static inline void os_cpu_intr_en(void)
{
    x86_intr_en();
}

static inline u32 os_cpu_intr_get(void)
{
    return x86_intr_get();
}

static inline void os_cpu_intr_put(u32 flags)
{
    x86_intr_put(flags);
}

#endif /* _INTR_H */